<!doctype html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<link rel="stylesheet" type="text/css" href="../../css/aui.css" />
		<link rel="stylesheet" type="text/css" href="../../css/yzl.css"/>
		<style type="text/css">
			#tx {
				border-radius: 50%;
				width: 30px;
				height: 30px;
				display: inline;
				position: absolute;
				top: 7px;
				left: 3px;
			}
			.aui-bar-nav {
				top: 0;
				line-height: 2.25rem;
				background-color: #ffffff;
				color: #333;
			}
		</style>
	</head>
	<body>
		<header class="aui-bar aui-bar-nav" id="head">
			<div class="aui-btn aui-pull-left" tapmode onclick="closeWin()"><img width="30px" src="../../image/big/back_1.png"> </div>
			<div class="aui-title">

			</div>
			<!-- <a class="aui-pull-right aui-btn" tapmode  onclick="grouphome()"> <img width="30px" src="../../image/big/1_gengduo_1.png"> </a> -->
			<!-- <a class="aui-pull-right aui-btn" tapmode  onclick="grouphome()"> <img width="30px" src="../../image/big/1_jitang_1.png"> </a> -->

		</header>
	</body>
	<script src="../../script/api.js"></script>
	<script src="../../script/vue.js"></script>
	<script src="../../script/app.js"></script>
	<script src="../../script/common.js"></script>
	<script src="../../script/url.js"></script>
	<script type="text/javascript">
	var groupinfo;
		apiready = function() {
			api.parseTapmode();
			var html = '';
			var group_id = 1;
			var group_zh = 'CC聊天室';
			var group_tx = 'htpps://carty.cc/picture/logo.png';
			html += group_zh;
			$api.html($api.dom('.aui-title'), html);
			$api.fixStatusBar($api.byId('head'));
			// var data = {
			// 		member_id: getPrefs('member_id'),
			// 		clan_id: api.pageParam.group_id
			// };
			// var callback = function (ret) {
			// 		groupinfo = ret.content;
			// 		openchat_frame();
			// 		// initApp();
			// 		api.parseTapmode();
			// };
			// pinet.post(URL.getClanInfo, data, callback);
			openchat_frame();

		};

		function openchat_frame(){
			var head_h = $api.offset($api.byId('head')).h;

			api.openFrame({
				name : 'frame_group',
				url : '../frame/frame_group.html',
				bgColor : 'f5f5f5',
				rect : {
					x : 0,
					y : head_h,
					w : 'auto',
					h : api.winHeight - 150
				},
				hScrollBarEnabled : false,
				vScrollBarEnabled : false,
				pageParam : {
					head_h : head_h,
					group_id : 1,
					clan_im_id:1,
					group_zh : 'CC聊天室',
					group_tx : 'htpps://carty.cc/picture/logo.png',
					nickname : getPrefs('username'),
					h:api.winHeight - 60

				}
			});
		}
		function closeWin() {
			api.closeWin({
			});
		}
		function grouphome() {
			api.openWin({
        reload : true,
        name : 'frame_group_info',
        url : '../frame/frame_group_info.html',
        hScrollBarEnabled : false,
        pageParam : {
          group_id : api.pageParam.group_id
        }
      });
		}
	</script>
</html>
